/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: false, // useEffect onlly onece
  async rewrites() {
    return [{
      source: '/api/:path*',
      // destination: 'https://mock.apifox.cn/m1/2398938-0-default/api/:path*',
      destination: 'http://localhost:3005/api/:path*'
    }]
  }
};

export default nextConfig;
